package practice02;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice02
 * @ClassName: ShapeTest
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/9 19:33
 * @Copyright 大牛版板所有
 */
public class ShapeTest {
    public static void main(String[] args) {
        Pen p = new Pen("红色");
        p.draw(new Triangle(3));

        p.draw(new Rectangle(4));

    }
}
